﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WithoutStateDemo
{
    class Lift:ILift
    {
        public void Open()
        {
            Console.WriteLine("电梯门开了");
        }

        public void Close()
        {
            Console.WriteLine("电梯门关闭");
        }

        public void Run()
        {
            Console.WriteLine("电梯上下运行起来了");
        }

        public void Stop()
        {
            Console.WriteLine("电梯停止了");
        }
    }
}
